package com.woniuxy.huayoung.service;

import com.woniuxy.huayoung.entity.Order;

import java.util.List;

/**
 * @author dushen
 * @className: OrderService
 * @description: TODO 类描述
 * @create 2021-07-20-14:21
 */
public interface OrderService {
    public void insertFlightOrder(Order order);

    //查询当前用户未支付的订单
    public List<Order> notPay(int uid);

    public List<Order> havePay(int uid);

    //支付完成修改状态
    public int pay(String orderno);


//    查询订单
    Order findOrder(String orderNo);
    //查询所有就酒店订单
    public List<Order> all();
    //查询所有及机票订单
    public List<Order> ticket();
    //查询所有就旅游订单
    public List<Order> travel();
    //更改订单支付状态
    public void updateorder(String orderno);
}
